<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<html>
  <head>
    <script src="http://cdn-hangzhou.goeasy.io/goeasy.js"></script>
    <script type="text/javascript">
		var goEasy = new GoEasy({
	        appkey: "BC-2feeb1426a254fbcb1ba0a48fc02dc18"
	    });
	    goEasy.subscribe({
	        channel: "my_channel",
	        onMessage: function (message) {
	            alert("Channel:" + message.channel + " content:" + message.content);
	        }
	    });
    </script>
  </head>
  
  <body>
    This is my JSP page. <br>
  </body>
</html>
